Developer Documentation

QuickTime 4 API Documentation

Programming With QuickTime VR

| Previous | Chapter Contents | Chapter Top | Next |

View State Types

The viewStateType parameter to the QTVRGetViewState and QTVRSetViewState functions specifies a view state type. The QuickTime VR Manager defines the following constants for view state types:

typedef enum QTVRViewStateType {
    kQTVRDefault                                    = 0,
    kQTVRCurrent                                    = 2,
    kQTVRMouseDown                                  = 3
} QTVRViewStateType;

Constant descriptions

kQTVRDefault
The default view state of the current view. The default view state is a set of object images defined by view duration, row, and column. The default view state image for a given view is displayed when the mouse button is not down.
kQTVRCurrent
The current view state of the current view. The current view state can be any of the view states authored in an object movie. Setting the current view state does not change the view state designated as the kQTVRDefault or kQTVRMouseDown view state. The effect of changing the current view state lasts until a transition to the mouse-down or default view state occurs.
kQTVRMouseDown
The mouse-down state of the current view. The mouse-down view state is a set of object images defined by view duration, row, and column. The mouse-down view state image for a given view is displayed when the user holds the mouse button down while the cursor is over an object movie.

© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |